package io.renren.modules.base.service;

import io.renren.modules.base.entity.BaseWorkitemInfoEntity;

import java.util.List;
import java.util.Map;

/**
 * 
 * 
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2018-10-05 17:55:20
 */
public interface BaseWorkitemInfoService {
	
	BaseWorkitemInfoEntity queryObject(String id);
	
	List<BaseWorkitemInfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(BaseWorkitemInfoEntity baseWorkitemInfo);
	
	void update(BaseWorkitemInfoEntity baseWorkitemInfo);
	
	void delete(String id);
	
	void deleteBatch(String[] ids);

	void deleteWorkitem(String workitemId);

	void updateWorkitemInfo(BaseWorkitemInfoEntity baseWorkitemInfoEntity);
}
